<?php
class fixture_event_approver_template extends Fixture
{
	
	
	public function up()
	{
		
		$db = new Database('cs_machine_learning');
		
		$db->query('CREATE  TABLE IF NOT EXISTS `bayes_feature` (
  `id` INT NOT NULL AUTO_INCREMENT ,
  `feature_text` VARCHAR(80) NULL ,
  `feature_count` INT NULL ,
  PRIMARY KEY (`id`) ,
  UNIQUE INDEX `feature_text_UNIQUE` (`feature_text` ASC) )
ENGINE = InnoDB;');
		
		unset($db);
	}
	
	public function down()
	{
		$db = new Database('cs_machine_learning');
		
		$db->query('DROP  TABLE  `bayes_feature`;');
		
		unset($db);
	}
}
?>